package edu.siu.math.egut.egut;

/**
 *This exception is thrown if a line was parsed and it found a malformed
 *egut function call. Specifically the function name with no arguments.
 * 
 * @author Joe Pleso
 *
 */
public class EgutMissingArgumentException extends Exception {
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    private final Class<?> errorClass ;
    EgutMissingArgumentException (Class<?> c){
	errorClass = c;
    }
    /**
     * Returns the offending name of the function.
     * 
     * @return the class which caused the exception
     */
    public Class<?> getErrorClass(){
	return errorClass;
    }

}
